Fixed #3406 : Change the position logic of canvas on SHOW_ALL mode

In addition:
Automatically add viewport metas into user’s custom setting. To avoid
viewport rescale problem by user input.