Added an assert if window creation is attempted with width/height of size 0.