Fixed popup positioning. closes #53