fix text editor in firefox at startup

fixes owncloud/core#6114

cc @DeepDiver1975 @butonic @jancborchardt @karlitschek @PVince81 @rpelissi