Bug Fix : Line shouldn’t be drawn if user draws horizontal line