fix issue 10787 - static ~this attributes position

http://d.puremagic.com/issues/show_bug.cgi?id=10787