Canvas dimensions taken from index.html