fixed PointsPrimitive GLSL shader preview that was causing maya to crash when selecting it on the viewport

Made it a pull request here in github to keep it simpler! Disregard the patch I've sent via dev list!