Fixed an issue with blurring image in hash algorithm.