Fixed UI Closing