By default the preview is positioned to the left and below the mouse pointer. If the preview goes off the window to the left or below then it will be positioned to the right or above the mouse pointer.