lib/sdl: fix right and middle mouse button id