makes graphics work for dynamically created objects