fixed bug on hdpi and mdpi devices