Fixed a bug that auto mode will start when the editor is enabled.