Fixed addwcs to use reference position if not enough stars are available