Fixed anchoring bug