This maybe related but feel free to move.
This bug can be reproduced by the following. All rails will be pointing up(the y) for this example and in the same x-z facing unless stated otherwise.