Fixed mist.getLeadPos

Source: http://forums.eagle.ru/showpost.php?p=2017195&postcount=489

Signed-off-by: etcher <etcher3rd@gmail.com>