Added a method for group manipulation on collision checking and enabled image flipping.