point line drawing works now correct