Fix widgets not rendering after switching picker type.