make solid and fix bug with polygon sorting