(SDL) Fix some creepy misuse of temporaries.