Your sentences are correctly punctuated.
When 'however' begins a clause, it is preceded by a semicolon or a full stop.
I don't know why you believe that 'using a comma before "but" and "because" is set in stone'. It most certainly is not.
- For Teachers