Fix Lua postupdate handler not being called.