fix graphic issue on multiple devices