Fix incorrect dialog sizes when using Far /w switch

http://forum.farmanager.com/viewtopic.php?f=5&t=6317&p=115956#p115956