Return false from `Area.createLayer` and `Layer.set` if the image is invalid.
Improve support for layer offsets.