Enhanced moveto to work with xoffset and yoffset