Added a null check in GLRenderWrapper.
Merge pull request #59 from pererikbergman/master

Added a null check in GLRenderWrapper.