Specify that layers have width and height. Fixes #1436 /cc @jfirebaugh