[WIP][MAINT] Fix keyboard mouse input tests.

As the title says.