Release #5636: Fix issue of DirectorWebGL's viewport