Fixed getting screen dimensions on android