Fixed preloaded popups can't be closed by background