updated library to work with the latest pytmx api changes