Page preview bugfix