fix for specific image and text button classes added to panels