Inactive sites and the evolution of cooperation