RenderManager: Fix segfault
Merge pull request #197 from fritsch/master

RenderManager: Fix segfault