Fix setRange bug in Timeline