Thanks for the link. It seems that your implementation is quite complex. I believe precise troubleshooting is required here. If you really need deep analysis of your problem, then I’d recommend checking this topic out:
As a workaround you can try hiding editor frame and initialize once user needs it. For instance, you can add a button or functionality of existing button with file name to show editor. Design is, obviously, up to you.