Deconvolving layouts from display