layer.zPosition's default value is zero so remove the zPosition var in IV