Improved event handling for player spaceship