Fixes output on pause bug