Fixed flickering hide/show