Fixed video/raphael window issue