Perth bushfire contained but unpredictable