Fix mobile after resize

can be obtained correctly