Fix overlapping windows.