Pool2D gives bad output for Integer inputs

This is already fixed. I will find the commit and paste it here.