eliminated some unneccessary canvas paints in subdetectors