Fixed getting className of an item from the Timeline