Fixed line dip when should be straight

Fixed issue #21