Fix for events happening after game over

Fixes #159.