Robust Camera Pose Refinement for Multi-Resolution Hash Encoding