tiny memory leak in UIEngine