fixed canvas resetting after reloading config