Moved the so called origin variable into a offset variable inside the AABB bounding box.