Number resize on window resize.

There is a bug on first setup.
Fixed the bug.