Weird text editor behaviour

when selecting the text and modifying the selection by holding the mouse, the currently displayed text starts jumping up and down 1 to 2 pixels almost every 2 or 3 pixels the mouse is moving. I’m on windows, is this a known issue?

It appears it does it also when entering text, but at a slower pace.

			text_preset_name.onEditorShow = [this]() 
			{
				juce::TextEditor* editor = text_preset_name.getCurrentTextEditor();

				if (!editor) return;

				juce::Colour alpha = juce::Colour(0, 0, 0).withAlpha(0.f);
				juce::Colour colour_text = juce::Colour(255, 255, 255);

				editor->setFont(font);
				editor->setJustification(juce::Justification::centred);
				editor->setSelectAllWhenFocused(true);

				editor->setColour(juce::TextEditor::shadowColourId, alpha);
				editor->setColour(juce::TextEditor::outlineColourId, alpha);
				editor->setColour(juce::TextEditor::backgroundColourId, alpha);
				editor->setColour(juce::TextEditor::focusedOutlineColourId, alpha);
				editor->setColour(juce::TextEditor::highlightedTextColourId, colour_text);
				editor->setColour(juce::TextEditor::highlightColourId, colour_text.withAlpha(0.5f));
				editor->setColour(juce::TextEditor::textColourId, colour_text);
			};

edit : it doesn’t happen on the basic juce font