Fixed half-pixel error in image_grabber

Only half the cases had been covered before