fixed Tile and added support for animating tiles