Fix error getting workspacesDisplay