Improve the layer composition method
Further improve line composition to better support alpha blending of objects