Fix position initialization