Fix bug with x/y offset when image is centered
0.1.1