Replaced deprecated visual_effect call