Fix double popup appearance.