Added checks for NULL render geometries in Java2DRenderer/Java2DTextRenderer