Screen on/off animation doesn't work