Correctly pausing game