Improve atoms interactions manager, handle custom onClick events

[#57658772]

FIXME: there is still an issue connected with native 'click' event
that isn't caught by canvas, so it's passed to the underlying layers
and can trigger some other handlers accidentally.