Lots more fixes with offsets from page elements and such