Fixed an edge case with highlights not updating properly after a window resize in IE.
Fixed an edge case with highlights not updating properly after a window resize in IE.

Signed-off-by: Grant Skinner <59bd0a3ff43b32849b319e645d4798d8a5d1e889@gskinner.com>

cmxiaocai/regexr,andela-oakinniranye/regexr,Sushanth-Manakhari/regexr,wongzigii/regexr,mul14/regexr,ducito/regexr,Angelfirenze/regexr,dlanileonardo/regexr,ducito/regexr,reduardo7/regexr,EllieAdam/regexr,cmxiaocai/regexr,mul14/regexr,dlanileonardo/regexr,ThiagoGarciaAlves/regexr,run-project/regexr,lixuanxian/regexr,wongzigii/regexr,ThiagoGarciaAlves/regexr,Sushanth-Manakhari/regexr,reduardo7/regexr,run-project/regexr,andela-oakinniranye/regexr,BevisZheng/regexr,run-project/regexr,lixuanxian/regexr,Angelfirenze/regexr,EllieAdam/regexr,BevisZheng/regexr,dlanileonardo/regexr