fix-bounding-box: Fix rect setter. Add tests