Fix maya re-opening and selected grid