Weird Input Handle on Pause Game

Below Forum post helped me to figure out the issue and come up with a solution of my own.