add option to get width and height from worldrenderer