:bug: Fix invalid range access on display buffer markers