Fix setting visibility of timeline objects