Fix crash when switching resolutions.
When background is deleted we need to clear background pointer.