allow the right click to invoke the action menu if the player is intersecting with an object