Made sure that the bounding box is resized on scale