more robust when switching Snagit editor state