rename Animate::createWithFrames
simplify compute global z when it is transparent