Handle middle click in mouse release event, fixes #101