Fixes issue with RDP port selection