fix problem with text anchoring