added sdl clear before draw