Fixed a bug of incorrect window width when overlapping taskbar with custom window.
Fixed double-click on title bar when it's on top of the screen bug.