Fixed Bug where AnimatedTiledMapTile sometimes couldn't find the correct frame