Fixed issue with joystick events not being re-enabled in some situations.