fixes overlay adding in mobile