Fixed changeHeight offset bug.

Changed the computation from isometric coordinates
to pixel coordinates, and included the offset parameter
in the computation.