Fixed foreground ordering