fix ui bug for the resolution is mdpi