fix event CSS overflow issue