Fixed memory leak issue due to not clearing texture out after rendering text