Made the masking work, but not with animations.