added pixel perfect hit test for vector graphics