Shaders render on Windows now, but flickering occurs due to polygon overlaps