@Padavan, Here it looks like your Z axis of Layer are intersecting.
try this:
CGFloat zOrigin = -100; // You can change this value as required.
layer.transform = CATransform3DMakeTranslation(0, 0,zOrigin);
this will push your layer back and it will not intersect.
Hope it helps.