Fixed Polymer event listener sequence.