Fix getBitmapData for Flash
Put mask code in a more secure place
Merge branch 'master' of https://github.com/openfl/swf