Planarity and locality in percolation theory