Fixed ControlManagerBase detection of middle and right mouse button clicks.