Found bug in previous pixel calculation.