fix bug with joystick if user rotated screen