Account for center aligned blocks for OnEnterBlockEvent

When converting Vector3f to Vector3i, one must account for the fact that blocks are center aligned on whole numbers.  Being inside a block means the float values will be +-0.5 on either side of the whole number. 
This fixes the odd breathing behavior underwater where you can get close to an underwater wall and "breathe".
Fixes #1112