Fixed minor bugs (viewAnalysis + shadingDesigner)