conditionally transition clippath