Fixed a Null Pointer Exception in Renderer (for small Window-Resolution)