fix opacity issue by assuming red is 0 if it's nan
fix issue where first load of a drawing can fail