overlay image widget constructor with Rect