fixed window adjustment bug and adjusted region hilighting on small zoom level