Fixed firefox popup display issue