Minor update

fixed an init issue on window width