Fix issue when using dot notation

When the property didn't contain an object definition already, apply the stack
and store the objdef in the object.