fix for alignment on MapPanel

@pblain is happy to merge this if it's altogether looking better.