Why is my custom panel target invalid?