"frame" is not defined, we pass 0 instead. Maybe not the right solution.
mentioned in commit 0af4c170