Fixes BitmapData.draw when source is BitmapData

Affects #520: hints