fix canvas render on native

On native mac at least, drawing to a rect bigger than the original buffer, render the image multiple times. This fixes it.