Get widest Rectangle instead of first one in setPosition
Merge dmalikov's feature/set-position