Trying to fix the line bug when zooming