FPS drop and lag when using Panel Sprites with unsmooth images

There is a bug when using sprite panels with images that do not have smooth enabled. When you use panel sprites with the smooth option on, they work correctly. When the option is disabled, the game runs with a lot of lag (which does not usually translate into higher milliseconds consumed per frame). I disabled the Smooth option for all my images in my game and I noticed that there was only lag when some panel sprites were in the camera (the more there are, the worse, but with about 4 or 5 the FPS drops a lot). I suppose that depending on the capacity of a CPU it will affect more or less, but I can say that with 4 or 5 panel sprites the FPS drops from 60 to 15-20 (taking into account that they are with unsmoothed images).
You can easily try this. Take an example (I used the base platform example), create a panel sprite with some of the images in the assets. Deactivate the Smooth option for all images (by doing so you must close the program and reopen it), place several in the scene that are visible on the screen and you will see the frame breaks.
The panel sprite objects are very necessary in my game because they make it easier for me to assemble the scenes, something I couldn’t with Tiled map or Tiled sprite (the position of the objects does not obey a block construction). The smooth option can cause a lot of problems on large screens, generating blurry images, so I consider it necessary to solve.
Clarifications: I tried with panel sprites that repeat their center (not stretched). This has been happening in several previous versions of Gdevelop, but I couldn’t define what was causing the lag until now. I used this method to return the smooth option of the images to true or false:

1 Like