Fix re-rendering of position chart

Fix: Position chart will not render more than once even after resizing of the browser