Added depth tracking