Add workaround to the overlapping histogram images issue.