joystick fix and unit test for projectiles