Improve icon resizing