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

...deos

This patch is cherry picked from Qing's PR
https://github.com/crosswalk-project/chromium-crosswalk/pull/166

Bug = https://crosswalk-project.org/jira/browse/XWALK-2265
https://github.com/01org/ozone-wayland/pull/260 can also fix this problem. However, after talking with Changbin, it seems that #260 can't be merged in a short time. So, add this patch to fix the current implementation's defect.