Make calculation of toolbar/caption heights more robust. And a small fix for the vimeo workaround (now takes caption height into account as well)