Fixes game over dialogue