Hi,
The first gallery, the one with a broken layout is not a RLG gallery – the plugin has no control over that.
The other one, which is a Basic Grid from RLG displays fine.
We’d suggest switching to RLG gallery in that case. Not sure what else we could do here.