if the window is resized it seems to not show lines?