The subject says it all. I was debugging some more complex d3 code and this behavior turned out to be the culprit. Here's a stripped down example. https://codepen.io/chahu/pen/KKdomVZ