make screenlocker turn off display correctly