Why is the form looking good in build mode, but not in preview?