Fixed Uncaught SecurityError for Chrome/IE

This PR fixes the issue when trying to init CKEditor inline within an iframe