Fixed a bug where the code blits onto the screen multiple times while paused