Imperfections: Bug fixes

Fixed a bug which took away more money than needed when purchasing the health upgrade.