android: w,h weren't set before setup + fix deprecated constants