Changed the hud to ignore mouse clicks when not visible.