Update old code so that all cForms are on screen and are not lost when size changes