fix keyguard freeze when device is sleeping