Fixes #604 where code editor has been forcibly removed