clipping now checked against all boundaries 2