title: JavaFX graphic bug with progressBar and Slider
body: <p>I am writing a small application (Audio player with features);
  I use slider and progress bar to show a progress of current track. But When track is changed a progressBar and Slider take old position (with random chance);</p>
  
  <p><img src="https://i.stack.imgur.com/SHEQ7.png" alt="You can see it on progress of song"></p>
  
  <p>Here is a code of fxml:</p>
  
  <pre><code>&lt;StackPane layoutY="64.0" prefHeight="20.0" prefWidth="492.0" AnchorPane.leftAnchor="26.0"     AnchorPane.rightAnchor="24.0"&gt;
    &lt;children&gt;
  &lt;ProgressBar id="progress" fx:id="progressBar" cache="true" cacheHint="QUALITY" disable="true" maxHeight="-1.0" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" opacity="1.0" prefHeight="9.0" prefWidth="-1.0" progress="0.0" /&gt;
  &lt;Slider fx:id="progressSlider" disable="false" opacity="1.0" value="0.0" /&gt;
    &lt;/children&gt;
  &lt;/StackPane&gt;
  </code></pre>
  
  <p>when new track overrides the old graphic, it gone.</p>
  
  <p>Can anybody help me?</p>