issue101, fix another misbehaviour when seting display attribute