I had to revert the changes in postRender() for now otherwise the module wasn't even working.