Fix the case when template command does not have an overflowTemplate. By design the command will be threated as an overflow: never and no JS error will be thrown.