2d tank bug fix