Update test_sdl_wm_togglefullscreen to continuously render to queried canvas size.

Fixes issues 2-4 reported in pull request #2198.