text entry marker gets missing on mac os

editing text on macos is really painful when the texture cursor becomes invisible constantly

it is back when clicking the mouse but gets lost when using the keyboard arrows