Fixed y-axis issue (especially in iOS7)

Hi, I found some popup presentation bugs when:

- moving navigationBar to nonzero origin.x/y and then tap button
- using iOS 7 (fullscreen layout)

I added a demo in the first commit of this branch, so you can check it out too.