Fixed input capture issues, although cursor is currently shown