Fix scrolling measuring from window edge, not area

Assumed view area topleft was (0, 0)