Fix backends executed twice, at key press and key release events