fix styletheframe, callResize and frameOnloadHandler -dye