Fixed "@disable this" propagating through references (issue 8296)