Fixes to platform specific keycodes