Window menu: fix Layer and Selection checks sometimes swapping

Index typo in the load module; oops!