BUG: Fixes transform/inverse for initial bounding box and resampling