Merge "Do not perform invisible transitions while the screen is off." into tm-qpr-dev