Correctly drawing time axis