Complete findPosFromDraw function