Steps to reproduce:
1. Open the Demo application and choose one of the diagram's examples.
2. Select one shape and rotate it at 180 rotation angle.
3. Change the width:
Expected: the connections and selection rectangle are properly adjusted according to the new size
Actual: the connections are not properly rendered and selection rectangle is also not updated