Prevent interaction with the controller when it is hidden