Collision detection between SVGPaths

This code is supposed to detect collision between to SpriteObjects in to steps. The first step sjeks for intersection between the two spriteframes and this works fine. The seconde step is supposed to detect intersection between the two SVGPaths, this does not work. I have no idea what’s wrong, please help me!

    public boolean collide(GameObject object) 
    {
        boolean collisionDetect = false;
        
        if(spriteFrame.getBoundsInParent().intersects(object.getSpriteFrame().getBoundsInParent()))
        {             
            SPEED = 0.5;
            
            Shape intersection = SVGPath.intersect(getSpriteBound(), object.getSpriteBound());
                        
            if(intersection.getBoundsInLocal().getWidth() != -1)
            {                           
                collisionDetect = true;
            }            
        } 
        else
            SPEED = 8;
                  
        if(collisionDetect)
        {
            spriteFrame.setImage(imageStates.get(1));
        }
        else
        {
            spriteFrame.setImage(imageStates.get(0));
        }                    
        return collisionDetect;
    }

This is the constructor of the class GameObject:

    public GameObject(String SVGdata, double xLocation, double yLocation, Image... spriteCels)
    {
        spriteBound = new SVGPath();
        spriteBound.setContent(SVGdata);
        spriteFrame = new ImageView(spriteCels[0]);
        imageStates.addAll(Arrays.asList(spriteCels));
        iX = xLocation;
        iY = yLocation;
        pX = pY = 0;
        isFixed = true;
        isAlive = isBonus = hasValu = isFlipV = isFlipH = false;
        spriteFrame.setTranslateX(iX);
        spriteFrame.setTranslateY(iY);        
    }

This is the SVGPath for the two objects:

    String pPanzerSVG2 = "M63,22 L63,77 18,77 18,22 Z";
    String granatSVG = "M3,1 L3,10 0,10 0,1 Z";

I have investigated a litle more and it turns out that the code works only when the SVGPath covers the SpriteFrame completely.