DEV: Fix buffer change detection