Port editing toggle fix