fix the issue of background lines when switching between normal and
large map