Doppler12, have you updated SDL to libsdl2.0-dev on your system? This is recommended as it fixes many bugs that are in SDL. That said, I have created a work-around in PR2246. Would you please compile it and test it out?
https://github.com/dolphin-emu/dolphin/pull/2246
https://github.com/dolphin-emu/dolphin/pull/2246
