figuring out 3d mouse clicking