fix(mock): Fix unitialized variable in MockWindow.