Refactor sdl_canvas_size

There's no need to load all the OpenGL stuff to test canvas size and resizing. There's a separate test that tests the OpenGL stuff.