Hack rendering animations using SDL2