fix time and sync layer chooser
use first visible layer for selector