Remove shadow of Rect and RectF.