Zoom window

Hi, when dragging a window the window selected is not the window displayed
in the top view, it works fine in the perspective view.