This happens when something is incorrectly outputting markup within the head tag that should be inside the body tag. The browser rendering engine moves the body tag before whatever markup is incorrectly inserted. It looks like your #wrapper
div is the likely culprit here and is being output in the wrong place.