Fix key/mouse interactivity in processing 2