Fixes polymer #672

Fixes https://github.com/Polymer/polymer/issues/672