Prevent parent theme infinite loop