Fix time window rendering