Added suppourt for high resolution displays