fixes to SDL2 native render