Fix Surface ASan error