Fixed some IE8 issues to do with recent changes