The annotation tool only exited on LMB or RMB mouse buttons, now check for all mouse buttons with special behavior with RMB.