Update common
Fix race condition with the destruction of the rendering surface and stopping the renderer to fix a random crash on exit