finally got rid of the corner clipping