Fixing a really weird bug on IE I don't even know how to report.
Merge pull request #264 from Delawen/99

Fixes #99 on develop