Proper rendering for some ship attributes

Fixed some weird values in ship attribute window.