CodeFolding jumps to the Gutter


I have enabled the CodeFolding in the TScrMemo and has an event 'OnColdFold' to implement the codefolding functionality. But, after the first click on the +/- button, the code folding jumps to the Gutter. What can be the possible reason?

We have received the same question via email. Further followup via email.