Stop rendering when game is over