fixes bug where all compositions looped, even if loop was set to false on player
fixes race caused by page loading slower than atlas images