Update Stage.prependLayer to use hasChildNodes() instead of children.length to determine if Stage.viewport has any child Nodes.
Using hasChildNodes is much faster: http://jsperf.com/haschildnodes-vs-children-length-vs-children-0/3