Fixed Codemirror display bug