Fields visible in build mode disappear in preview