I replied to you on discord as well, but the bug happens when the game tries to move your ship. If you are not on mobile, you can use the console to get around this: hit F12, then enter
moveShipToRoom("UNKNOWNS.UNKNOWNP.SPACE");
Then proceed with the fight as normal.
Otherwise, you can just...