Dragons agree Casty stay