Close the polygon created by ol.render.Box
Simplify code in ol.render.Box#createGeometry_