fix a sideways-scrolling bug with medium-ish resolutions