Fix some issues with cursor handling in SplitterWindows.