small hack for cross appdomain rendering