When I log into Sitecake on a site where the HTML uses responsive images, they becomes invisible in the browser. When I log out again they are displayed correctly again. I have tried this on Safari, Chrome (mac) and Firefox (mac) and the problem is the same. But If I remove srcset="… part from the code the image is again displayed when logged into Sitecake.
My code with responsive image (Dosent show up when logged into admin):
<div class="flxleftg sc-content">
<img src="images/bad2.jpg" srcset="images/bad2-p-500.jpeg 500w, images/bad2-p-1080.jpeg 1080w, images/bad2.jpg 1300w" sizes="(max-width: 479px) 23vw, (max-width: 767px) 24vw, (max-width: 991px) 46vw, 45vw" alt=""></div>
My code without srcset (Works perfectly when logged into admin):
<div class="flxleftg sc-content"><img src="images/bad2.jpg" alt=""></div>
How do I solve this, so my images are displayed corectly when logged into sitecake?