I am using pgfplot to draw a node and a cusp but it seems to be that the squares \x^2 are returning negative numbers to the coordinates. This is strange. I was using the same code before and getting the right pictures. Now I moved to Windows 8 and MikTeX 2.9 and the problem appeared. The result is that the cusp is looking smooth like a cubic parabola and the node doesn't self-intersect.

The code is
\documentclass{beamer}
\usepackage{amsmath,amssymb,stmaryrd}
\usepackage{mathtools}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{pgfpages}
\usepackage[ansinew]{inputenc}
\usepackage{lmodern}
\usepackage{mathtools}
\usepackage{pgfplots}
\usepackage{textcomp}
\usepackage{microtype}
\begin{document}
\begin{frame}{Definition of Simple Normal Crossings}
\begin{center}
\begin{tikzpicture}
\draw[thick,domain= -1.2:1.2] plot (\x^2,\x^3);
\draw[thick,domain=-1.4:1.4] plot (\x^2+4,\x^3-\x);
\end{tikzpicture}
\end{center}
\end{frame}
\end{document}
There is a solution using the code
\documentclass{beamer}
\usepackage{amsmath,amssymb,stmaryrd}
\usepackage{mathtools}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{pgfpages}
\usepackage[ansinew]{inputenc}
\usepackage{lmodern}
\usepackage{mathtools}
\usepackage{pgfplots}
\usepackage{textcomp}
\usepackage{microtype}
\begin{document}
\setbeamercolor{alerted text}{fg=red}
\begin{frame}{Definition of Simple Normal Crossings}
\begin{center}
\begin{tikzpicture}
\draw[thick,domain=0:1.2] plot (\x^2,\x^3);
\draw[thick,domain=0:1.2] plot (\x^2,-\x^3);
\draw[thick,domain=0:1.4] plot (\x^2+4,\x^3-\x);
\draw[thick,domain=0:1.4] plot (\x^2+4,-\x^3+\x);
\end{tikzpicture}
\end{center}
\end{frame}
\end{document}
This give the right image.

But there should be an explanation of what is wrong in the first.