Reinit composer in case window size is changed.