Fix debugging display error when changing workspace level.