bugfix: fix double release of platform interface in render test.