Add fallback to getView() if no active workbench is found #5758