Fix behavior prototype event clobbering