Fixed broken rendering when max-slide-distance attribute is none on ons-sliding-menu.