Merge "Ignore back invoke when window focus has lost" into tm-qpr-dev