TexturePacker optimized by using BitmapData to implement _mask