Fixed wrong render context state after mask restore