fixed async texture scale in demo on iPad 3+
some more 64bit fixes