Grab the Light Block and carry it to the door at Point 1. Go through the door to access the next section of the Ghost House.
The door at Point 2 will send you back to the beginning.
Drop down the gap at Point 6 and make a left. Enter the door in the secret area to unlock an alternate path on the World 5 map leading to the cannon!