I believe I know what the problem is however I don\'t know how to fix it. In my main loop, there exists this code:
while (SDL_PollEvent(&event)) { if (eve