Ugly workaround to avoid submit button jumpiness