Check if game is over before handling pause. Check pause on render