Image offset bug corrected

The image offset was not correct because the carry bit was not cleared.
This caused a vertical black line on the right side.