Fixed bug with time bar