fixed canvas growth ERROR