remove CSS correction code for IE8 that wasn't working anyway, fixes #17993

(cherry picked from commit 67a0b5b5004d0b3950183543891cb9c0f24088ea)