bitmapData.dispose should set width and height to 0