Form not working correctly when it's embedded on my website