Fix function propagation to child to avoid react bind warning in logs