changed pause menu quit to actually quit and fixed viewport issues