Ghost text in free flow scripting in Chrome on a Mac

Ghost text in free flow scripting in Chrome on a Mac

When editing code on a Mac in Chrome, occassionally there is "ghosting" (please see attached screenshot). This does not occur in Firefox or Safari (which shares the webkit engine with Chrome). The obvious workaround is to either not use the free flow scripting with Chrome or to use Safari instead, but it would be good to get this resolved. Any thoughts?