Don't attempt to set CSS of preview frame before frame has loaded