added a debug frame to show changes in aspect ratio