fix event placement top attribute