Add tentative support for rotating sprites.