Fix trailing newlines on input/dynamic text
Fix trailing newlines on input/dynamic text

May not be able to place caret at the end with the mouse, but should pass CI
openfl/openfl,openfl/openfl,openfl/openfl