Solving bug with transitions in xsd and adjustin CSS for props