Added a panel button class to resolve mouse detection problems with panels