X/Y Offsets are global, so removed unnecessary locals