curWindowLo logic has been changed incorrectly, let's figure out how