Hello, danila!
Because the GUI isn't a surface and is drawn on top of the application_surface, and you're using the application_surface as an input surface for PPFX, it doesn't include the GUI. The only easy way would be to draw the UI inside the application_surface. You can try doing this in the Draw End event, using a camera with orthographic projection (2D camera).