Why my form is frozen when previewing it?