css fix for event background