add scaling to object and background