This prevents a bug that cause the label target to be accidentally resized if the user updates the label value to an empty string (or null). Closes #1294