Added click detection for entity menus