Fix crash and other bugs caused by placing dockables on the right edge of a WindowDock.
Merge remote-tracking branch 'origin/master'
Merge remote-tracking branch 'origin/master'