Added a null check in GLRenderWrapper.

This should make sure no null pointer exception is thrown. This property might be moved in other versions of android and this need to be fixed.