Checked in by Rudy Xiong for modify GUIEventMode