Otherwise it's just gonna display a static black screen CCBUG: 438363 (cherry picked from commit 3d6659b0)