Bugfix: Context menu was enabled for document