Pass button name to events, change menu behavior when cursor goes beyond screen