fix error when interaction components not used in chrome

Just a minor fix. 

I'm not sure what's going on with the line lengths - they look the same on my computer but seem to have changed in the diff. Any ideas?