calculating screen ratio from correct screensize