Fix bug on Bevel layer.