I can\'t figure out how can I resize sprite\'s attributes on window resize event properly.
You can see example here on codepen.
My HTM