Working draw function (scale issue fixed as well. Though possibly not on retina displays.)