Moved enterFrame event handler to the bottom.