iPad popover fixes

Commits should be pretty self-explanatory; just a few small fixes which (except for 4ff26ef) only apply to the iPad.

Only tested in the simulator because I don't have an iOS developer account, but hopefully it should be OK on real devices too.