This behavior has to do with map "wrap points" and is hardcoded into the client. To change this, you'll need to either hex edit the official client, or use a custom client like Classic UO and make edits to the source code. You'd also need to make edits to the code for ships in the server.
If...