Pause is activating when P-key is released