2d.layer.invalid-calls.beginLayer-reset-endLayer

Raises exception on beginLayer() + reset() + endLayer().