Fixed crash in integer coords when client is connected to the server.