Fixed upside down rendering.