Fixes https://github.com/Polymer/core-animated-pages/issues/16