Handled customCSS before clipRect

If the custom CSS altered the height of the page, the image was still at the original height; potentially cutting off the bottom of the page if shotSize.height == 'all'.