fix timebar on different resolution