fixed alignment bug in event box