fix(element binder): Ensure mappings are evaluated before attach() is
called.

Closes #1059