Fixed aspect ratio calculation for different screen sizes

Added fix to dynamically calculate aspect ratio for smaller screen, as
well as the screensaver selection preview window.