That one is not so easy to fix on game design side. I probably should allow the ship to cross some ground just temporarily, or to auto-build a bridge from that ground to the main base.
Also, that made me to think about, what would happen if the player would build some blocks around the ship itself. It would also stop the game as that would be a similar bug, so you've discovered two of them!