Squashing bugs in the transition between screens and game