added missing 'registerPrograms' call

Without it, some situations could cause 'renderCustom' to be executed without a valid program.