Popup: Get rid of the $( document ).height() workaround introduced for core 1.7.2.
Unit tests: Popup: Test placement.