Fix to prevent the edit card form from expanding/collapsing in safari.