fixed #1659: fixed OpenGLView init.

fixed #1659: fixed OpenGLView init.