Changed image padder to pad according to center and not corner