Fix to fact that histo tool page mashed the palette.
Fix to http://jira.diamond.ac.uk/browse/SCI-1444