Remove all custom popup resize code (osx)