Adjusts the rect's coordinate from the preview's coordinate system to the view coordinate system.
rect