Don't allow mouse input to pass through a GUI if a control was hit (closes #1)