Fix bug where axis labels disappeared.