Added null-check for actor properties.