Merge pull request #11210 from huchengtw-moz/video/Bug_898324_there_is_1px_shifting

Bug 898324 - There is 1px shifting down of selection border, r=rexboy(cherry picked from commit a3528ad962afb6d7c566b05df5949733e9d4fd21)
Merge pull request #12186 from huchengtw-moz/video/Bug_898324_v1.1.0hd

Merge pull request #11210 from huchengtw-moz/video/Bug_898324_there_is_1px_shifting