Added depth filtering.