Fixed edit popup vertical alignment (osx), closes #354