Fix unexpected behaviors of tinymce and fancybox