Fix positioning of dialogs on multihead systems