Bounding box bug fixes. Frame selected layers now works.