Offsets an image as defined by x and y.