Fix form sometimes read-only on refresh