fixed light not update when set visible to false bug