Fixed single LED on space issue

if a LED has the off status I turn all pins to input in order to swich it off. This fixes the single pixel on space issue.