Fix array slice bug when trying to view lines before 0.