Apparently temp : PolygonShape cannot be disposed, cuz Java uses the equals operator as a reference pointer. Destroying temp will be destroying the shape itself... oh well