Fixed crash when rightclicking toolbox in air