Finally fixed the bug (ColorManager was shared over multiple files,
causing every color to be disposed when one file closed)