fix ui image draw