Fixed SDL not sending mouse button up event if app does not redraw the screen