Fixes #382 Error when using InputHandler#onInputUp & sprite destroys itself during the event.