Fix bug where joystick was being scaled incorrectly