Fixed object initial visible flag value not being set