fix crash if there is no OpenGLRenderer set

Change-Id: I6cd75aa2a9db7219b2873d0b6516ef9df4fbe33d
make the OpenglShapeFactory work with the new OpenGLWindow impl

Change-Id: Id97a61c67b55d6ef85b9752f7f4ac2c93aa5bf32