Fix unknown bug around IE giving crazy first paint times