Added option to transoform bounding box