fix a bug on neko when visible property of an object is not initialized (window object)