Fixed fade-in bug under OSX.