Fixed canvas not updating on load