Fixed last pixel problem.