Fixes regression that cause scrolling using spacebar to break in Firefox
Merge pull request #3497 from Snuffleupagus/regression-3447

Fixes regression that cause scrolling using spacebar to break in Firefox
Fixing the offset of vertical CJK text
Merge pull request #3494 from SSk123/master

Fixing the offset of vertical CJK text