Use size of the default screen instead of hardcoded size.