added screen size and set use UI thread to true