Test if settings were initialized before initiating a replot on window resize. Bugfix.