Fixed segfault and removing blocks that fly off screen