Fix NPE in BlockPosition