input layer misbehaves when having more than one keyboard device