Mighty Max (1993)

Max, a twelve-year-old boy, finds a magical cap that can teleport him across dimensions.