Fixed flat rendering.