histogram mode ui fix