Fixed "@disable this" propagating through references (issue 8296)
Merge pull request #3411 from Ingrater/fix8296

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