LeftOffset function fixed for parent with offset