[small-app] Resize window support #2 - fixed