Fix for cube attacks not triggering properly