Added visibility hidden to fix refine controls showing on first render.