Fix the issues with the width and height of the metrics on top of the domain.