fix: reserve the scrollbar's width while scroll is locked (#5219)