Fixed the pausing glitch. Can only pause with keyboard.