Fix image rendered upsidedown

Image is no longer rendered wrongside and text is properly drawn.