Fix open bug after editing button positions