Changes square to a polygon

in an attempt to fix the odd behavior it was having