Fixed screen displayed abnormally when playing some size of html5 mp4 vi...

...deos

Cherry pick from master branch so that crosswalk can use it.