Mirror p3lim's changes to allow in-vehicle castbar