Fix for lag
Fix for pausing when using the console