Fixed shadow if transition was already fully done