Cover a canvas with colour. Modified from https://gist.github.com/mbostock/11363008