Changed the UI Image handling.