Fixed issue with casting in MollweideProj.xy2ij related to issue #148