Check TileEntity y coords when checking if invalid. Fixes #737

Signed-off-by: Ross Allan <rallanpcl@gmail.com>