Fixed an issue with view plugins when closing OpenCOR.