Releasing device context fixed