Fixed Rendering Bug

Fixed the bug where only half of the polygons would render.