ControlSwitchSprite now uses maskSprite's displayFrame instead of texture;
removed some legacy code from ControlSwitchSprite;