Updated icon loading code to be HighDPI aware.