Fixed ViewerBase is enabled bug