Added alpha blending in layer mode