Form changes its size when I open it and exit without saving