fix game over screen when page isn't active