Fixed the problem with the image centering