Work around boolean errors in frontLayer