changed selection box to bitmapData