Don't crash if the window is resized before data is initialized.

Without this, CoreList will crash if a resize event is fired before `data` is initialized.