BUG FIX: The foreground is now always the frontmost canvas.