Position prediction based on depth map