bitmapData.draw fixes