added ShapeSetBitmapRect, fix a bit overflow bug.