Fixes #202 preview in standalone version.