Fixes a couple of fancybox resize bugs