When the outline binary property is set, the mapper only asks if the pixeltype is 8 bit, so for binary images with a different pixel type the contour rendering is not possible.
This can be fixed by checking if the image is actually marked as a binary image in the properties.