[library] Implement LayoutBoundsInterceptor