Divi Visual Builder does not function when used with Domain Mapping

When Domain Mapping is enabled, Divi Visual Builder stops working on the front-end. We tried reverting versions and nothing seems to work 100%.