Make the resizing of bg image less shitty