fixes #6914: prevent cursor jump for all text inputs