Fixing some layout issues in the textMarker