Fixed window resizing vibration
setStockSAS function