Fix bug: Haar feature calculate.