Very hacky fix for some IE9 issues
Merge pull request #665 from gannetson/small-bug-fixes

Very hacky fix for some IE9 issues