Attempts at stopping the keyboard from being active

This should stop the keyboard from being active in every case but it
still will glitch out if you hold it down for whatever reason.