fixed bug with resizing.
upgraded to latest babylon.js