Sleep until screen is available if needed