Fix dimmingview to disable-enable and allow nil-resultview