This fix the problem when moving a window on a floating layout on screen N to non-floating layout on screen M