Image positioning, and border adjustments