Fix issue with traps not activating