Removes unnecessary values and fixes shield drawing.