Hi Kornei, that is very strange; this should not happen and I cannot reproduce it. Going into Wireframe should not make the Backgound Image invisible, whether you are in in Camera View or not!
Maybe if you send a link to the .Blend file, I could check your settings and see what’s causing this?