Thanks for reporting this. This issue has already been fixed in the current version — gold earned from boss battles should now be counted correctly in the shop.