fixed the bug for "Enable CSS color preview option missing in view menu"