Changed the way overlaying the pause menu works.