Fix issues with running IE 8