Got the overlay to work correctly