Handle display on/off cycles correctly

Signed-off-by: Simon Busch <morphis@gravedo.de>