Bypass dispatch when middle click trigger event

Cleaned up code and added better comments
Bump project version to 1.0.3

Fix bypass middle click