foreign: Fixes due to new version of react