How to make revolving doors not drag other blocks with it when opening/closing?

Example of what I mean:

The wooden “door” blocks touch the wall blocks once it fully opens up, then drags it with them when closing. Anyway to fix this?