When generating rafts, sometimes some of the layers aren't completely generated. I am using 5.2.1, which is the latest version, and it also happened in previous versions.
This usually can be fixed by changing the raft margin.
Example:
This happens with different shapes that have holes. And always the layer below the top raft layer.