Disable inputs in in-game when needed.