Fixes lowercase key events and event names