Wouldn't this be `(width - 150) / 2` in order to get the horizontal center of the image? Also, that 150 should be a constant.