Fixed issue where graphics thread would call to deleted objects!