Fixed bug that made mag size 0 until mag was replaced