Correct handling of multimedia key presses