fixed a bug concerning the calculation of the vertices of the physical body of a trimmed sprite