only prevent default for events on the crog container or image