Fixed GUI-Pause bug