Fixed the display of time axis selection when resizing