Fixed bugs w/joystick and firefox's invert problem