Minor simplification in renderDisplayObject