Fix bug with range bar positioning