pointQueryFirst returns invalid Shape when a shape is not found.

It will now return NULL if a shape is not found.