fix issue 10787 - static ~this attributes position
Merge pull request #2460 from hpohl/10787

fix issue 10787 - static ~this attributes position