* Use `getBuffer` consistently. With SVC, it is possible that layer <-> buffer mapping is not 1:1. So, use `getBuffer` method. * fix recursive lock
* Use `getBuffer` consistently. With SVC, it is possible that layer <-> buffer mapping is not 1:1. So, use `getBuffer` method. * fix recursive lock