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