Fixed bug where timeline would fail if only static layers were selected