fix label rendering