Added badge dimensions on custom layer.