Fixes BitmapData size for masked image and draw()
Merge pull request #521 from yurydelendik/bitmap-mask

Fixes BitmapData size for masked image and draw()