code style
Check for userInteractionEnabled flag. Fixes #354