Yes, it is a bad design to put an ammonia RV refrigerator in a slide, but tens of thousands of Rv like this are out there. Right now i am in 108 degree heat, the add-on digital readout says 2.8 degrees C (about 37 degrees F), and the inside hanging bimetallic dial refrigerator thermometer says 20 degrees. There is frozen condensation droplets at the bottom left of the inside refrigerator cooling fins. I do find that my refrig cools better on propane heat on these very hot days.
I drew up a diagram of venting heat flow and an added baffle which is in our owners forum library. Go to the "Tools" tab, then the "Manuals" submenu, the appliances submenu, refrigerators and then your brand (Dometic) to get a listing of the manuals there.
Here is a link to that venting heat diagram. Please note that (at least with my refrig) the top of the condenser fins sit HIGHER than the heat outlet venting slots. That doesn't make for good venting of the hot heat exchange air to the outside. The ideal is the way a refrig is installed in a motorhome - with a straight vertical chimney vent to the roof for the venting air.
https://manuals.heartlandowners.org.../Refrigerator in Slide Baffle System Mod..pdf