Fix #775 transform3d test so that querySelector is used instead of document.body

on iOS7 Safari document.body appeared to be null sometimes, but document.querySelector appears to not have this problem.