fixes incorrect fadeIn transition