IR Remote codes change when changing speed using Arduino Motor Shield.

Switching to an H-Bridge fixed the speed/PWM issue. Don't know why, but it works now.