Fixes to make line drawing work with other hardware.