fix rendering in SDL2;