Corrected x-offset calculation, xoff and yoff follow platemap conventions. (+x right, +y up)