I had the same problem on one door that overlaps the bedroom slide. Factory set it to open to level horizontal - right about forehead level
So, I moved the lower gas shock mounts on the door frame up a few inches so that the door opens to a higher angle but still clears the slide.
Simple, cheap, effective.