Other improvement : window resizing handling