fix the 1 pixel overlaps with off-canvas is inactive