Fixed major bug with offset left calculation