Changed overlapping pixels method and made game fast again.