Fixes coloring bug when sample is unmounted.
added missing call to child.