Fix callback is called with window, should be grid