Update examples to translate-property patch.

Since the simulator modifies the translate property, the
connecting lines must be bound to the sum of the layout
and translate properties.