Fixed issue related to HDPI resizing and retrieving the correct width/height.