Removed OnGUI to support Unity 4.6