Fix habit scroll bug