FIx close buttion not being visable sometimes