fix background drawing order for multiple overlays