One potential explanation for the defined images on a block disappearing between themes is if the authoring tool is removing the json associated with the old theme when a new theme is applied.
Could you apply a background image to a block, export that course and check the blocks json for the themes target attribute and background image.
Repeat the process with the new theme and background image and compare the old and new json - what appears in the json for the block?