Fixed half pixel bug.