Fixed so that the bounding box generated by the resource loader takes the midpoint into account.