fix to renderablemerge for iOS runtime error in debug mode