Unable to toggle list styling in IE8 when cursor is placed in list (cleaner fix)

Follow-up from #557.