fix test_sdl_canvas