More IE-compat work for Gala.