Fix shot duration calculation.
When rendering, hide preview window and show render information instead.