Fixed bug with disappearing objects