Remove unused property `frames`

It wasn't being used anywhere, and I'm assuming since it is public, that
it was meant to be read-only.
Cache value for `maxFrames`

No need to re-calculate it every time you call the property!

It only needs to be updated whenever you change the bitmap associated
with the sprite sheet.