Take in account rotation for BBox