Fix `submit:prepare` trigger as a result of mouse click

Fixes #31