Improve performance in time selection rendering.