Fix portalgun infinite loop in ChunkLoadHandler

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