Fix global editing crash when tabs used