Fixed canvas problem