How to properly place a vending machine

For months now, vending machines are bugged and they randomly break if you build near them. When they break, all of your things are gone without a trace. Here is how to place them yourself so they don’t break..

.