[Issue] Grid is rendered in exported images with hidden background

When exporting images that have their background hidden, the grid is rendered in them if it's displayed in the application.To reproduce the issue with the example file, display the grid, select the gray image background using the Arrow tool, hide it by pressing F12, and then perform File -> Export -> Pages.