Fixed bug where pausing between waves would break game