fixed it so that shapes won't be erased when changing slides