FoldingPanel: remove repaint call when adding cursor (this is not needed and makes the marker state persistency buggy)