Backport from ArenaCastbars 3.3.5 thanks to http://arena-tournament.com/forum/viewtopic.php?f=14&t=14610