bugfix: SIGABRT after starting a track with PNS and switching canvases a few times