The Issue
When "Select New Contents For This Blueprint" is used, during the corresponding `on_player_setup_blueprint` event, calling `.set_blueprint_entities()` with the (unmodified) return result from `.get_blueprint_entities()`, corrupts the blueprint. Specifically it appears to shift rail entities down and to the right by one tile from where they should be, causing strange overlaps and impossible entity stacks in the blueprint.I would expect this operation to be the identity operation, leaving an unmodified blueprint.
This does not appear to occur when creating a fresh blueprint; only when replacing contents.
Reproduction Steps
1) Load this BP into inventory:2) Stamp it down in the world somewhere.
3) Create and enable a mod with the attached `control.lua` script. 4) Open the blueprint from (1), choose Select New Contents, and select everything that was stamped down in (2).
5) Observe that the blueprint appears to have been corrupted. (the rail signal on the bottom is now impossibly stacked with its rail and the rails have shifted to the right of their original positions)
