Fixed a bug with the 'show first line' feature