Fixed a couple of minor syntax errors. Upstream-commit: f2dc49292f775f4c10fc61157cac0b8e15315917 Component: engine