fix overlay layout