Fixed issues with IE10+.