Fixed a memory bug when retaining the Tint.