Solve no draw line bug