Fix bug: when requested to render only one frame it wrongly renders the frame at time t=0. With the fix it renders the correct requested frame.
Enclose statements inside if-else sections for better readability.
Fix bug: mouse pan on navigator doesn't work if the cairo render is enabled for navigator at synfig studio start. This fixes that behavior and makes the mouse pan works fine.