Improve bitmapData.dispose