When working on an empty canvas, there is an unexpected behavior where the canvas disappears when the display property is changed to "none" in the style inspector. This issue hampers the user's ability to visualize and edit the canvas content effectively.
Steps to Reproduce:
- Run the React project
- make sure no element is created.
- Access the style inspector on the right side.
- Locate the canvas element and modify its display property to "none".
- Observe that the canvas disappears from view, making it impossible to interact with or see any changes.


When working on an empty canvas, there is an unexpected behavior where the canvas disappears when the display property is changed to "none" in the style inspector. This issue hampers the user's ability to visualize and edit the canvas content effectively.
Steps to Reproduce: