Update time dimensions on preview layers

Fix #823