Fixed the premature ending of the line bug for large screens