When resizing the background and image should not animate