Ok, the issue is resolved. The issue was apparently caused by the Outline plugin.

The plugin was enabled with the option to display outline when the outline pane is closed. The problem can be solved by turning off the outline plugin or enabling outline only when the side pane is open.

Thanks for your help.