Do not modify the foreground color. (see #10222)

Small import issues. 
see https://trac.openmicroscopy.org.uk/ome/ticket/10222