fixing canvas security error, hopefully