Fix opening arrays in new windows