Added multisampling for plots and does not re-render plots if unnecessary