Fix all-day events display in IE

It also fixes the display of the event categories for all-day events in
IE.