Adjust Offset for different sized pictures