Every time that I want to start a farm for wheat, melons or sugar cane. Even with fence twice as high around it, animals seems to spawn on it and destroy my crops.
Since melon seed are kinda rare, it's annoying to lose all my melon crops because a chicken, sheep or cow step on it.
How can we make a farm so the animals won't step on your crops?