Fix for smoother lines