You need to make sure that the inserted html is correct and does not break the code that is generated via Muse. I assume that is the case as you have mentioned that removing the form code fixes the issue.
I am afraid I will not be able to look into the form html and suggest further, so I will keep this discussion open for any community member to pitch in and assist with that.
- Abhishek Maurya