Fix for double render canwas