Fixes https://github.com/Polymer/polymer-dev/issues/7
and works around:
 - https://code.google.com/p/chromium/issues/detail?id=345114
 - https://bugzilla.mozilla.org/show_bug.cgi?id=625013