Update the size and position of the preview window.
This function is called on drag_motion event to update the representation of the docking site in real time.
a PreviewWindow
the new position and size of the window