Introduce Layer.batch(), which allows deferred drawing during fast event
delivery #29