address image resize issues on some devices: