Fix VM port transfer.