updating sprite background size