Fixed ID error, graphics being created correctly now