Fix map overlay rendering issues