Fix entry creation when register is embedded in a view