Fix fadeIn bug in demo.