switch from getter to attribute-lookup

attribute-lookups are faster than getters. We use attribute-lookups when possible everywhere in the code. This is a rare exception, presumably an accidental oversight.

I tested in a game with some rotating elements - it still works. The qunit tests also pass.