Fixed "null effect duration" bug

Basically fixed an XML tag reader.