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

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