Fix drawing bug in TimeLineGrid