Fixed KeyMappingTool sometimes initializing with the wrong keytype selected.