fixed a bug when device uses white as the default fill colour