clclosed #5369: Fix wrong logic when setTarget to Effect3D