Avoid scrolling prior to attribute query.

Modify GetAttributeNHandler to avoid scrolling prior to attribute query,
in order to preserve element coordinates.