client: fixed the ctrl and alt key behaviours. The number keys work correctly while any meta button is also down, refs #331