Fixed bad render call in web and x11