The hovering and the selected color property should only be applied for binary images. Added a check for binary.
Merge branch 'bug-14698-BinaryImagePropertiesFix'