Only handle keyboard events when attached
Prepare 0.12.0 release