Fix width and height issues and added initial Line object