Refactor #3370 : Fixed a bug with viewport meta