fixed histogram zoom bug

Change-Id: Ie7423da557f1288ddd4ac5fe79bbc90460a93d4b