bug fix on mixed buttons with and without images