eel-editable: fix render issue.

additional changes, continuing from:

https://github.com/linuxmint/nemo/commit/f54c1ed253e266ae947c5e51698583654fb61084
https://github.com/linuxmint/nemo/commit/d5377cfd53034b6ab5588376322126f48782ec59

Fixes #634