added guard to not create layers on Morph and CodeEditor if standalone
added guard to not create layers on Morph and CodeEditor if standalone

fniephaus/babelsberg-js,babelsberg/babelsberg-js,fniephaus/babelsberg-js,fniephaus/babelsberg-js,psieg/babelsberg-js,babelsberg/babelsberg-js,psieg/babelsberg-js,psieg/babelsberg-js,babelsberg/babelsberg-js,psieg/babelsberg-js,babelsberg/babelsberg-js,fniephaus/babelsberg-js