Fixes button image of custom buttons