Added events handling for left/right mouse clicking