fixed rock spawning while game is paused.