Fix bug where CodeMirror editors are blank upon being shown.

Seems like a collision with the ng-show functionality.