Fixed: getYOffset defaults to top again

This was the default behaviour in the older version of this function; changed it back for consistency's sake.

Refs #231