Fixes #98 on develop

Fixing a really weird bug on IE I don't even know how to report.

#98